package top.whysu.edevice.dto.generate;

import javax.validation.Valid;
/**
 * 通用DTO
 */
public class RequestDTO<T> {

    private static final long serialVersionUID = 5069755318813643726L;

    private HeaderDTO header;
    @Valid
    private T body;


    /**
     * @return the header
     */
    public HeaderDTO getHeader() {
        return header;
    }

    /**
     * @param header the header to set
     */
    public void setHeader(HeaderDTO header) {
        this.header = header;
    }

    /**
     * @return the body
     */
    public T getBody() {
        return body;
    }

    /**
     * @param body the body to set
     */
    public void setBody(T body) {
        this.body = body;
    }


}
